#ifndef _H_SHADER_INTE
#define _H_SHADER_INTE
#include "../core/shader.hpp"
#include "../core/material.hpp"
#include "../core/optics.hpp"
namespace chen {

class PathShader: public SamplerShader {
    public:
    int nlight_samples;
    int max_bounce;
    PathShader (
        const Scene * sce, const Camera * cam,
        Sampler * sampler, int split, int nls, int mbc
    ) ;
    Spectrum Li (const Ray & r, Sampler * s) const ;
    virtual void prepare (int ntr) ;
};

}
#endif